#

pkgname=xarchiver
pkgver=0.5.2
pkgrel=2
pkgdesc="GTK+ frontend to various command line archivers"
arch=('ppc')
url="http://xarchiver.sourceforge.net"
license=('GPL')
groups=('xfce4-goodies')
depends=('gtk2' 'glib2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool' 'pkg-config' 'gettext')
optdepends=('tar: TAR support'
            'gzip: GZIP support'
            'bzip2: BZIP2 support'
            'zip: ZIP support'
            'unzip: ZIP support'
            'unrar: RAR support'
            'p7zip: 7z support'
            'arj: ARJ support'
            'lha: LHA support'
            'lzma-utils: LZMA support'
            'lzop: LZOP support')
options=('!libtool')
install=xarchiver.install
source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2)
md5sums=('2bc7f06403cc6582dd4a8029ec9d038d')

build() {
  cd "$srcdir/xarchiver-$pkgver"
  ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 \
		--enable-nls
  make
}

package() {
  cd "$srcdir/xarchiver-$pkgver"
  make DESTDIR="$pkgdir" install
}
